# Recipe created by recipetool
# recipetool create -o xf86-video-via_0.2.2.bb https://www.x.org/archive/individual/driver/xf86-video-via-0.2.2.tar.gz

require recipes-graphics/xorg-driver/xorg-driver-video.inc

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"

SRC_URI = "https://www.x.org/archive/individual/driver/xf86-video-via-${PV}.tar.gz"
SRC_URI[md5sum] = "ce12a676ce1c5e46331d8af92cd0f4ae"
SRC_URI[sha256sum] = "7951384325b9466818bfc941266c1f682bf7741261a948c0c2218e2588c90a5b"

DEPENDS += "xserver-xorg xproto fontsproto libxvmc libdrm xf86driproto"

inherit pkgconfig autotools

# ref: http://lists.openembedded.org/pipermail/openembedded-commits/2009-July/104205.html
# ref: tmp-glibc/work/core2-64-oe-linux/xf86-video-*/*/recipe-sysroot/usr/include/xorg
EXTRA_OECONF = "ac_cv_file__usr_include_xorg_dri_h=yes \
                ac_cv_file__usr_include_xorg_sarea_h=yes \
                ac_cv_file__usr_include_xorg_dristruct_h=yes \
                ac_cv_file__usr_include_xorg_damage_h=yes \
                ac_cv_file__usr_include_xorg_exa_h=yes"


HOMEPAGE = "http://www.X.org"
SUMMARY = "The Xorg via video driver"

